package com.newidea.jiangong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Schema(title = "室温监控数据")
@TableName("indoor_tem_monitor")
@Data
public class IndoorTemMonitor implements Serializable {

    @Schema(title = "室温监控数据")
    @TableId(type = IdType.AUTO)
    private String id;

    @Schema(title = "所属项目")
    private String projectName;

    @Schema(title = "数据时间")
    private String dt;

    @Schema(title = "楼栋")
    private String deviceName;

    @Schema(title = "在线状态")
    private String offLine;

    @Schema(title = "温度")
    private String column1;

    @Schema(title = "数据所属公司", description = "目前只有：大屯、建邦枫景")
    private String company;

    @Schema(title = "采集时间")
    private String createTime;

    @Schema(title = "是否是最新的数据")
    private boolean newest;

}
